package com.wise.service;

import com.wise.domain.DemoEntity;

public interface DemoService {
    /**
     * 保存单个实体
     *
     * @param entity
     */
    void save(DemoEntity entity);

    /**
     * 回滚测试
     */
    void rollBackTest(DemoEntity entity);

    /**
     * tranSynManager专用接口
     *
     * @param entity
     */
    void insertTranSynManager(DemoEntity entity);

    DemoEntity queryOne(Integer id);
}
